%Succeed to open USB2Dynamixel!
data=struct();
% Reglage:
data.description_experience="Mesure du couple lors de la levé d'un poid de 1Kg";
data.values=zeros(10000,6);% Indices des colonnes de données
data.col_time=1;
data.col_position=2;
data.col_vitesse=3;
data.col_current=4;
data.col_load=5;
data.col_consigne=6;
i=0;

%Duree_us: 750000
%Press Enter key to continue!(press ESC and Enter to quit)

%Parametre : speedRpm < 20.000000%PresentTimeUs,PresentPosDegree,PresentSpeedRadps,PresentCurrentInc,PresentLoadNm,Goalposdegree
i=i+1;data.values(i,:)=[2,1702,0,2070,1152,239.626373];
i=i+1;data.values(i,:)=[8866,1702,0,2112,1264,239.626373];
i=i+1;data.values(i,:)=[18819,1704,16,2114,1296,239.626373];
i=i+1;data.values(i,:)=[28817,1713,52,2112,1261,239.626373];
i=i+1;data.values(i,:)=[36834,1722,92,2115,1233,239.626373];
i=i+1;data.values(i,:)=[46892,1735,144,2104,1163,239.626373];
i=i+1;data.values(i,:)=[58810,1756,164,2099,1125,239.626373];
i=i+1;data.values(i,:)=[68816,1772,184,2100,1100,239.626373];
i=i+1;data.values(i,:)=[79820,1788,188,2098,1086,239.626373];
i=i+1;data.values(i,:)=[88828,1802,180,2107,1112,239.626373];
i=i+1;data.values(i,:)=[99814,1817,168,2108,1159,239.626373];
i=i+1;data.values(i,:)=[109790,1831,152,2112,1173,239.626373];
i=i+1;data.values(i,:)=[119812,1844,160,2110,1181,239.626373];
i=i+1;data.values(i,:)=[127826,1858,168,2101,1141,239.626373];
i=i+1;data.values(i,:)=[136813,1873,184,2098,1114,239.626373];
i=i+1;data.values(i,:)=[145810,1888,196,2099,1074,239.626373];
i=i+1;data.values(i,:)=[155813,1904,192,2103,1100,239.626373];
i=i+1;data.values(i,:)=[164809,1917,180,2108,1120,239.626373];
i=i+1;data.values(i,:)=[173817,1929,168,2114,1145,239.626373];
i=i+1;data.values(i,:)=[185021,1943,156,2107,1167,239.626373];
i=i+1;data.values(i,:)=[196823,1961,164,2107,1147,239.626373];
i=i+1;data.values(i,:)=[207813,1978,176,2108,1122,239.626373];
i=i+1;data.values(i,:)=[216812,1993,184,2109,1116,239.626373];
i=i+1;data.values(i,:)=[225813,2006,180,2104,1128,239.626373];
i=i+1;data.values(i,:)=[236814,2023,180,2106,1120,239.626373];
i=i+1;data.values(i,:)=[248087,2040,176,2104,1128,239.626373];
i=i+1;data.values(i,:)=[257811,2055,172,2111,1114,239.626373];
i=i+1;data.values(i,:)=[266885,2068,172,2103,1120,239.626373];
i=i+1;data.values(i,:)=[276834,2084,176,2103,1120,239.626373];
i=i+1;data.values(i,:)=[288877,2102,176,2109,1120,239.626373];
i=i+1;data.values(i,:)=[300835,2119,180,2104,1120,239.626373];
i=i+1;data.values(i,:)=[310912,2135,180,2103,1092,239.626373];
i=i+1;data.values(i,:)=[320904,2151,184,2102,1106,239.626373];
i=i+1;data.values(i,:)=[332847,2170,184,2101,1092,239.626373];
i=i+1;data.values(i,:)=[343239,2185,172,2107,1112,239.626373];
i=i+1;data.values(i,:)=[354917,2202,168,2103,1145,239.626373];
i=i+1;data.values(i,:)=[365413,2215,160,2109,1153,239.626373];
i=i+1;data.values(i,:)=[377101,2233,168,2108,1133,239.626373];
i=i+1;data.values(i,:)=[387878,2249,172,2105,1128,239.626373];
i=i+1;data.values(i,:)=[399979,2267,180,2098,1114,239.626373];
i=i+1;data.values(i,:)=[411835,2286,184,2106,1106,239.626373];
i=i+1;data.values(i,:)=[424809,2307,176,2102,1106,239.626373];
i=i+1;data.values(i,:)=[436827,2324,180,2105,1120,239.626373];
i=i+1;data.values(i,:)=[448807,2342,168,2103,1131,239.626373];
i=i+1;data.values(i,:)=[460810,2359,168,2109,1125,239.626373];
i=i+1;data.values(i,:)=[472809,2376,176,2106,1133,239.626373];
i=i+1;data.values(i,:)=[484806,2394,172,2104,1106,239.626373];
i=i+1;data.values(i,:)=[496805,2413,180,2103,1106,239.626373];
i=i+1;data.values(i,:)=[508814,2431,176,2107,1112,239.626373];
i=i+1;data.values(i,:)=[520816,2448,172,2105,1133,239.626373];
i=i+1;data.values(i,:)=[532830,2465,172,2103,1120,239.626373];
i=i+1;data.values(i,:)=[544828,2484,180,2103,1133,239.626373];
i=i+1;data.values(i,:)=[556810,2502,168,2106,1112,239.626373];
i=i+1;data.values(i,:)=[568807,2520,172,2105,1125,239.626373];
i=i+1;data.values(i,:)=[580814,2538,176,2103,1120,239.626373];
i=i+1;data.values(i,:)=[592826,2555,172,2103,1125,239.626373];
i=i+1;data.values(i,:)=[604827,2574,176,2106,1125,239.626373];
i=i+1;data.values(i,:)=[616827,2591,172,2104,1120,239.626373];
i=i+1;data.values(i,:)=[628825,2609,176,2103,1120,239.626373];
i=i+1;data.values(i,:)=[640814,2627,176,2107,1133,239.626373];
i=i+1;data.values(i,:)=[652806,2645,172,2106,1120,239.626373];
i=i+1;data.values(i,:)=[664810,2662,176,2105,1120,239.626373];
i=i+1;data.values(i,:)=[676808,2680,176,2075,1069,239.626373];
i=i+1;data.values(i,:)=[688806,2699,168,2056,93,239.626373];
i=i+1;data.values(i,:)=[700807,2713,156,2047,132,239.626373];
i=i+1;data.values(i,:)=[712805,2720,104,2047,96,239.626373];
i=i+1;data.values(i,:)=[724807,2723,52,2048,42,239.626373];
i=i+1;data.values(i,:)=[736827,2724,20,2048,15,239.626373];
i=i+1;data.values(i,:)=[748829,2724,0,2048,1040,239.626373];
i=i+1;data.values(i,:)=[761184,2724,0,2048,1048,239.626373];
data.values=data.values(1:i,:);
